Recreation Steps:
1. Configure the CheckStyle plug-in such that the Javadoc
package HTML is required:
checkstyle.require.packagehtml=yes
2. Check a buffer that doesn't have a package.html.
Nothing is reported to the Error List.
The problem is in CheckStyleThread.java, line 155. Here
the code is looking to strip off the postfix that was added
previously, but in this case, the file from the AuditEvent is
actually "package.html" instead of the source file. Since the
postfix isn't present in the file name, an
ArrayIndexOutOfBoundsException is thrown when calling
substring with -1.
An appropriate fix may be simply to do nothing if the postfix
wasn't found. The attached file has that fix.
Submitted | ericjsmith - 2002-09-09 23:53:13 | Assigned | luckyspin |
---|---|---|---|
Priority | 5 | Labels | |
Status | open | Group | None |
Resolution | None |
2002-09-09 23:53:13 ericjsmith |
Possible fix for this bug. CheckStyleThread.java (5.1Kio) |
---|---|
2002-09-12 20:16:57 luckyspin |
- **assigned_to**: nobody --> luckyspin |
2002-09-12 20:16:57 luckyspin |
Logged In: YES |
2003-05-29 05:25:34 spestov |
- **labels**: 102671 --> |
2003-06-17 08:06:39 bemace |
- **assigned_to**: nobody --> luckyspin |